package org.apache.jsp.weixin.main.member;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class memberinfo_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

static private org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_0;

static {
  _jspx_fnmap_0= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:length", org.apache.taglibs.standard.functions.Functions.class, "length", new Class[] {java.lang.Object.class});
}

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(5);
    _jspx_dependants.add("/taglib.jsp");
    _jspx_dependants.add("/WEB-INF/tld/fmt.tld");
    _jspx_dependants.add("/WEB-INF/tld/fn.tld");
    _jspx_dependants.add("/WEB-INF/tld/c.tld");
    _jspx_dependants.add("/WEB-INF/tld/xw.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	response.setHeader("progma", "no-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<head>\r\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/head_v2.jsp", out, false);
      out.write("\r\n");
      out.write("    <link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${weixin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/css/v2/personalData.css\" type=\"text/css\" rel=\"stylesheet\">\r\n");
      out.write("    <link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${weixin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/plugins/datetime/css/common.css\" type=\"text/css\" rel=\"stylesheet\">\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body  class=\"bg-f6f6f6\" role=\"_fixedTop\">\r\n");
      out.write("   ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/navihead_v2.jsp" + (("/weixin/include/navihead_v2.jsp").indexOf('?')>0? '&': '?') + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("title", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("个人资料", request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("backUrl", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(param.ref)>0?param.ref:'home'}", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false), request.getCharacterEncoding()), out, false);
      out.write("\r\n");
      out.write("\t<div class=\"pt43\">\r\n");
      out.write("\t\t<form action=\"ajax_update_memberinfo\" redirect-url=\"memberinfo\"  data-validate=\"true\" role=\"_editForm\" >\r\n");
      out.write("\t\t<input type=\"hidden\" name=\"id\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\"/>\r\n");
      out.write("\t\t<ul>\r\n");
      out.write("\t\t\t<li class=\"pr12 pl12 pt10 pb10 bb clearfix bg-fff f14 fb \">\r\n");
      out.write("\t\t\t\t<p class=\"f_left color-696969 lh55 iblock\">头像</p>\r\n");
      out.write("\t\t\t\t");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      \t\t\t");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t</li>\r\n");
      out.write("\t\t\t<li class=\"pr12 pl12 pt10 pb10 bb clearfix bg-fff\">\r\n");
      out.write("\t\t\t\t<label class=\"f_left color-696969 iblock\" for=\"cname\">用户名称</label>\r\n");
      out.write("\t\t\t\t<p class=\"f_right iblock color-c0bebe pr12 pr\" style=\"width: 80%;\">\r\n");
      out.write("\t\t\t\t<input class=\"f_right iblock color-c0bebe pr12 pr b-none tr\" data-format=\"_required _nameTxt\" data-title=\"名称\" style=\"width: 100%;\" name=\"cname\" id=\"cname\" data-value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(item.cname)>0?item.cname:'' }", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false));
      out.write("\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(item.cname)>0?item.cname:'' }", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false));
      out.write("\" onblur=\"checkVal(this);\" onclick=\"cleanContext(this);\"/>\r\n");
      out.write("\t\t\t\t<span class=\"profile-arrow color-c0bebe\"><label class=\"icon-angle-right f24\" for=\"cname\"></label></span>\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t</li>\r\n");
      out.write("\t\t\t<li class=\"pr12 pl12 pt10 pb10 bb clearfix bg-fff\">\r\n");
      out.write("\t\t\t\t<label class=\"f_left color-696969 iblock\" for=\"birthday\">出生日期</label>\r\n");
      out.write("\t\t\t\t<p class=\"f_right iblock color-c0bebe pr12 pr\" style=\"width: 80%;\">\r\n");
      out.write("\t\t\t\t<input class=\"f_right iblock color-c0bebe pr12 pr b-none tr\" style=\"width: 100%;\" placeholder=\"未填写\" name=\"birthday\" id=\"birthday\" role=\"_datepicker\" data-beginyear=\"1950\"  data-endyear=\"2016\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.birthday}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("\t\t\t\t<span class=\"profile-arrow color-c0bebe\"><label class=\"icon-angle-right f24\" for=\"birthday\"></label></span>\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t</li>\r\n");
      out.write("\t\t\t<li class=\"bb clearfix bg-fff mt10 bt\">\r\n");
      out.write("\t\t\t\t<a href=\"memberphone\" class=\"w100 box-sizing pr12 pl12 pt10 pb10  clearfix block\">\r\n");
      out.write("                    <p class=\"f_left color-696969 iblock\">联系电话</p>\r\n");
      out.write("                    <p class=\"f_right iblock color-c0bebe pr12 pr\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.phone }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\r\n");
      out.write("                        <span class=\"profile-arrow color-c0bebe\"><i class=\"icon-angle-right f24\"></i></span>\r\n");
      out.write("                    </p>\r\n");
      out.write("                </a>\r\n");
      out.write("\t\t\t</li>\r\n");
      out.write("\t\t\t<li class=\"pr12 pl12 pt10 pb10 bb clearfix bg-fff\">\r\n");
      out.write("\t\t\t\t<label class=\"f_left color-696969 iblock\" for=\"email\">电子邮箱</label>\r\n");
      out.write("\t\t\t\t<p class=\"f_right iblock color-c0bebe pr12 pr\" style=\"width: 80%;\">\r\n");
      out.write("\t\t\t\t<input class=\"f_right iblock color-c0bebe pr12 pr b-none tr\" style=\"width: 100%;\" placeholder=\"未填写\" name=\"email\" id=\"email\" data-value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.email}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.email}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" onblur=\"checkVal(this);\" onclick=\"cleanContext(this);\"/>\r\n");
      out.write("\t\t\t\t<span class=\"profile-arrow color-c0bebe\"><label class=\"icon-angle-right f24\" for=\"email\"></label></span>\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t</li>\r\n");
      out.write("            <li class=\" bb bg-fff mt10 bt\">\r\n");
      out.write("                <a href=\"address?addresstype=1\" role=\"_hyperlink\" class=\"w100 box-sizing pr12 pl12 pt10 pb10  clearfix block\">\r\n");
      out.write("                    <p class=\"f_left color-696969 iblock\">个人地址</p>\r\n");
      out.write("                    <p class=\"f_right iblock color-c0bebe pr12 pr\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(default_address_personal)>0?default_address_personal:'无'}", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false));
      out.write("\r\n");
      out.write("                        <span class=\"profile-arrow color-c0bebe\"><i class=\"icon-angle-right f24\"></i></span>\r\n");
      out.write("                    </p>\r\n");
      out.write("                </a>\r\n");
      out.write("            </li>\r\n");
      out.write("            <li class=\" bb clearfix bg-fff none\">\r\n");
      out.write("                <a href=\"address?addresstype=2\" class=\"w100 box-sizing pr12 pl12 pt10 pb10  clearfix block\">\r\n");
      out.write("                    <p class=\"f_left color-696969 iblock\">公司地址</p>\r\n");
      out.write("                    <p class=\"f_right iblock color-c0bebe pr12 pr\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(default_address_company)>0?default_address_company:'无'}", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false));
      out.write("\r\n");
      out.write("                        <span class=\"profile-arrow color-c0bebe\"><i class=\"icon-angle-right f24\"></i></span>\r\n");
      out.write("                    </p>\r\n");
      out.write("                </a>\r\n");
      out.write("            </li>\r\n");
      out.write("        </ul>\r\n");
      out.write("        <p class=\"pr12 pl12 pt10 pb10 tc\">\r\n");
      out.write("            <a href=\"javascript:void(0)\" role=\"_submit\" data-handler=\"on\"\r\n");
      out.write("               class=\"pt5 pb5 f16 fb btn-bg br8 w100 iblock color-fff\">保存</a>\r\n");
      out.write("        </p>\r\n");
      out.write("    </form>\r\n");
      out.write("</div>\r\n");
      out.write("<div id=\"datePlugin\"></div>\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/footer_v2.jsp", out, false);
      out.write("\r\n");
      out.write("<script src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${weixin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/plugins/uuid.js\"></script>\r\n");
      out.write("<script src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${weixin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/plugins/datetime/js/iscroll.js\"></script>\r\n");
      out.write("<script src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${weixin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/plugins/datetime/js/date.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("    function cleanContext(obj) {\r\n");
      out.write("        $(obj).val('');\r\n");
      out.write("        $(obj).focus();\r\n");
      out.write("    }\r\n");
      out.write("    function checkVal(obj) {\r\n");
      out.write("        if($(obj).val()==null || $(obj).val().length==0){\r\n");
      out.write("        \t $(obj).val($(obj).attr(\"data-value\"));\r\n");
      out.write("        }\r\n");
      out.write("    }\r\n");
      out.write("</script>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fif_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent(null);
    // /weixin/main/member/memberinfo.jsp(21,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(item.photo) > 0}", java.lang.Boolean.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("      \t\t\t\t<img src=\"");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.photo}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("\" class=\"f_right w20 br50\" style=\"max-width:55px;\">\r\n");
        out.write("      \t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent(null);
    // /weixin/main/member/memberinfo.jsp(24,9) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(item.photo) <= 0}", java.lang.Boolean.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("      \t\t\t\t<img src=\"");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("/images/default-photo.jpg\" class=\"f_right w20 br50\" style=\"max-width:55px;\">\r\n");
        out.write("      \t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }
}
